from django.urls import path, include
from . import views

urlpatterns = [
    path('login/',views.LoginView.as_view(), name='login'),
    path('zhuce/',views.ZhuceView.as_view(),name = 'zhuce'),

    path('all/', views.allstu, name='allstu'),
    path('add/', views.AddView.as_view() ,name='add'),
    path('delete/<int:id>', views.delete ,name='delete'),
    # path('update/<int:id>', views.UpDate.as_view() ,name='update'),
    path('update/<int:sid>', views.update ,name='update'),
    path('only/', views.only),
    path('all/deleteall/', views.deleteall,name = 'deleteall')

]
